﻿    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.Text;
    using System.Text.Json.Serialization;
    using System.Threading.Tasks;

    namespace Domain.Entitys.Inv
    {
        /// <summary>
        /// 抽检详细信息
        /// </summary>
        public class Inv_prodInfo
        {
            [Key]
            public int ProdInfo_id { get; set; }
            public int Samp_id { get; set; }
            public string Pro_name { get; set; }
            public string Pro_code { get; set; }
            public string Pro_brand { get; set; }
            public string Pro_model { get; set; }
            public string Unitmeas_id { get; set; }
            public decimal Samp_numder { get; set; }
            public decimal ProdInfo_totnum_qify { get; set; }//合格
            public decimal ProdInfo_totnum_uqual { get; set; }//不合格

            public char ProdInfo_Sampling_results { get; set; }
            //仓库编号
            public string Warehouse_code { get; set; }
            //出库
            public string stock_entry_no { get; set; }

            /// <summary>
            /// 导航属性（指向主表）
            /// </summary>
            [JsonIgnore]
            public Inv_samp Main { get; set; }
        }
    }
